<extend name='Public/index'/>
<block name='content'>
<button type="button" class="button" data-reveal-id="myModal">修改资料</button>
	<table class='large-12 columns'>
		<tr>
			<th colspan="6"><h4>个人资料 学期:<{$detail.term_id}></h4></th>
		</tr>
		<tr>
			<th rowspan="6" style='min-width:120px;'>个人信息</th>
			<th>姓名</th>
			<td><{$detail.tname}></td>
			
			
		</tr>
		
		
		<tr>
			<th rowspan="2">联系方式</th>
			<th>联系电话</th>
			<td><{$detail.mtel}></td>
			<th>email</th>
			<td colspan="2"><{$detail.email}></td>
		</tr>
	</table>
	<div style="padding:20px;">
  

  <div id="myModal" class="reveal-modal" data-reveal>
<form action="<{:U(doEditTeacher)}>" method='post' enctype="multipart/form-data" >
<table>
<tr>
	<td>
		<table>
		<tr><td><input type="hidden" name="teacher_id" value="<{$Think.get.id}>"></td></tr>
					<tr>
						<td>姓名</td>
						<td><input type="text" name="tname"value='<{$detail.tname}>'></td>
					</tr>
					<tr>
						<td>密码</td>
						<td><input type="text" name="pwd"></td>
					</tr>
					<tr>
						<td>昵称</td>
						<td><input type="text" name="nick"value='<{$detail.nick}>'></td>
					</tr>
					<tr>
						<td>手机</td>
						<td><input type="text" name="mtel" value='<{$detail.mtel}>'readonly></td>
					</tr>			
		</table>
	</td>
	<td>
		<table>		
							<tr>
					<td>邮箱</td>
					<td><input type="text" name="email"value='<{$detail.email}>'readonly></td>
				</tr>		
		</table>
	</td>
	</tr>
	</table>
	<input class='button' type="submit" value='提交'>
	</form>
	<a class="close-reveal-modal">&times;</a>
	<script>
	$('#city').citySelect();
	$('#city1').citySelect();
	</script>
  </div>
  
</div>

<script>
$(document).ready(function() {
    $(document).foundation();
})
</script>
</block>